package com.example.tilitili.vo;

import com.example.tilitili.validator.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class RegisterVo {
    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    @Length(min = 6)
    private String password;

    @NotNull
    @Length(min = 6)
    private String password2;

    @NotNull
    private String nickname;

    @NotNull
    private String address;
}
